package com.linkhouse.common;

public enum ResultEnum {
    SUCCESS(10000,"操作成功"),
    ERROR(9999,"操作失败");
    private Integer status;

    private String statusInfo;

    ResultEnum(Integer status, String statusInfo) {
        this.status = status;
        this.statusInfo = statusInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }
}
